//
//  NoteInfo+YL8G.h
//  YL8G
//
//  Created by Liccon Chang on 12-8-1.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NoteInfo.h"

@interface NoteInfo(YL8G)

- (BOOL)insertMarkRecordIntoDatabase;
- (int)isExistInMarks;
- (BOOL)updateSetMarkRecordInDatabase;
- (BOOL)addToMarkRecord;
- (BOOL)deleteMarkRecordFromDatabase;

+(BOOL)createMarkTableWithDatabase:(FMDatabase*)aDatabase;
+(NSArray*)queryAllMarks;
+(BOOL)deleteAllMarks;

@end
